package czx.wt.entity;

/**
 * @Description: 类作用描述
 * @Author: ChenZhiXiang
 * @CreateDate: 2018/11/15 0015 11:30
 * @Version: 1.0
 */
public class UserRoleDTO {

    private Integer id;

    private String username;

    private String mobile;

    private String email;

    private String password;

    private Integer insertUid;

    private String insertTime;

    private String updateTime;

    private boolean isDel;

    private boolean isJob;

    private String roleNames;

    private Integer version;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getInsertUid() {
        return insertUid;
    }

    public void setInsertUid(Integer insertUid) {
        this.insertUid = insertUid;
    }

    public String getInsertTime() {
        return insertTime == null ? "" : insertTime.substring(0,
                insertTime.length() - 2);
    }

    public void setInsertTime(String insertTime) {
        this.insertTime = insertTime;
    }

    public String getUpdateTime() {
        return updateTime == null ? "" : updateTime.substring(0,
                updateTime.length() - 2);
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean getDel() {
        return isDel;
    }

    public void setDel(boolean del) {
        isDel = del;
    }

    public boolean getJob() {
        return isJob;
    }

    public void setJob(boolean job) {
        isJob = job;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "UserRoleDTO [id=" + id + ", username=" + username + ", mobile="
                + mobile + ", email=" + email + ", password=" + password
                + ", insertUid=" + insertUid + ", insertTime=" + insertTime
                + ", updateTime=" + updateTime + ", isDel=" + isDel
                + ", isJob=" + isJob + ", roleNames=" + roleNames
                + ", version=" + version + "]";
    }
}
